const config = {
  src: ['../test-source'],
  dist: '../dist/docs',
  info: true,
  include: ['*.js', '*.vue'],
  exclude: ['JUtils.js', '**/index.js'],
  // vuepress配置项
  vuepress: {
    version: 2,
    rotuerName: 'api',
    defaultSiebarName: 'API',
    sidebarTree: [
      {
        title: '工具类',
        include: ['utils/**', 'util.js'],
        exclude: []
      },
      {
        title: 'vue组件',
        include: ['*.vue'],
        exclude: []
      }
    ],
    readme: {
      path: '../README.md',
      outputName: 'README.md',
      isOutputApiList: true
    }
  },
  // vue doc文档配置
  vueDoc: {
    // 输出配置，是否需要自动检测文件输出对应的 event、props、slot、method，默认都为true，如果不需要则设置对应的为false即可
    autoOutput: {
      title: true,
      // 是否输出props
      props: true,
      slot: true,
      method: true,
      event: true
    }
  }
  // jsdoc: {
  //   configure: ''
  // }
}

module.exports = config
